home *** CD-ROM | disk | FTP | other *** search
/ 9-Digit Zip Code Directory / 9-Digit Zip Code Directory (American Business Information) (ABIZIP-12).ISO / z4src.zip / CLPARENT.HPP < prev    next >
C/C++ Source or Header  |  1993-09-02  |  2KB  |  70 lines

  1. //----------------------------------------------------------------------------
  2. //                            MODULE DESCRIPTION
  3. //
  4. //  Module:    clparent.hpp
  5. //   Title:    Base library
  6. //  Notice:    John M. Weeder
  7. //                 Copyright (c) 1993. All rights reserved.
  8. //             This module contains proprietary information and should be 
  9. //                treated as confidential.
  10. //
  11. //----------------------------------------------------------------------------
  12. //                           MAINTENANCE HISTORY
  13. //
  14. // $Workfile$
  15. // $Revision$
  16. //   $Author$
  17. //     $Date$
  18. //      $Log$    
  19. //
  20. //----------------------------------------------------------------------------
  21. //                             MODULE NARRATIVE
  22. //
  23. //    This module contains code for the class CL_PARENT.
  24. //
  25. //    The code in this module may be written in C++ or C.
  26. //
  27. //    This module is portable to:
  28. //        DOS 3.X+
  29. //        MS Windows 3.X+
  30. //        MS Windows NT
  31. //        OS/2 2.X+
  32. //        OS/2 2.0 PM
  33. //
  34. //    The following compilers are supported:
  35. //        MSC 6.0A
  36. //        MSC/C++ 7.0
  37. //        Borland C++ 3.1 for DOS
  38. //        Borland C++ 1.0 for OS/2 2.X
  39. //
  40. //----------------------------------------------------------------------------
  41.  
  42. //----------------------------------------------------------------------------
  43. //    Class CL_PARENT
  44. //----------------------------------------------------------------------------
  45. CLASSDEF(CL_PARENT);
  46. #define CL_PARENT_PARENT CL_OBJECT
  47. class CLASSTYPE CL_PARENT : public CL_PARENT_PARENT
  48. {
  49. public:
  50.     FN_M CL_PARENT();
  51.     FN_M CL_PARENT(RCCL_PARENT);
  52.     virtual FN_M ~CL_PARENT();
  53.  
  54.     virtual BOOL FN_M Destroy(BOOL = TRUE);
  55.     virtual BOOL FN_M Initialize(SHORT = CL_INIT_ALL);
  56.     virtual BOOL FN_M IsError() const;
  57.     virtual BOOL FN_M IsValid() const;
  58.     RCCL_PARENT FN_M operator=(RCCL_PARENT);
  59.     virtual BOOL FN_M Retrieve(PCSZ, PCSZ = NULL);
  60.     virtual BOOL FN_M Store(PCSZ, PCSZ = NULL);
  61.  
  62. #if COMPILE_DEBUG
  63.     static VOID FN_M Print(PCCL_PARENT = NULL, PCSZ = NULL, SIZET = 0);
  64.     static BOOL FN_M Test(SHORT = 0);
  65. #endif
  66. };
  67. //----------------------------------------------------------------------------
  68. //------------------------------- End of File --------------------------------
  69. //----------------------------------------------------------------------------
  70.